package com.liang.lingdong.model.topic.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 创建题目
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UpdateTopicDto {

    /**
     * 主键id
     */
    private Long businessId;

    /**
     * 题目名称
     */
    private String topicName;

    /**
     * 题目内容
     */
    private String topicContent;

    /**
     * 考试id
     */
    private Long examId;

    /**
     * 题目分数
     */
    private Integer topicScore;

    /**
     * 题目类型
     */
    private Integer topicType;

    /**
     * 选项
     */
    private String topicOption;

    /**
     * 答案
     */
    private String answer;

    /**
     * 参数
     */
    private String topicArgs;


}
